package com.ymttest.database.mapping;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.ymttest.database.model.YmtLive;



public interface YmtLiveMapper {
	
	YmtLive selectByLiveId(Integer liveId);
	
	int updateTimeBySellerId(Map<String, Object> record);
	
	int updateTimeBySellerIdAndLiveId(Map<String, Object> record);
	
	List<Map> selectforMapByLiveId(Integer liveId);
	
	List<Map> selectforMapBySellerId(Integer sellerId);
	
	List<YmtLive> selectEffectiveLive(Map<String,Object> map);
	
	List<YmtLive> selectBySellerIdAndInDuringTime(Integer sellerId,Date startDate,Date endDate);
}
